| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Public Member Functions | List of all members
nkWinUi::ComboBox::Entry Class Referencefinal

Represents an entry within the combo box. More...

## Public Member Functions
| Entry () noexcept
| ~Entry ()
nkMemory::StringView | getLabel () const
void * | getAttachedData () const
void | setLabel (nkMemory::StringView label)
void | setAttachedData (void *data)

## Detailed Description

Represents an entry within the combo box.

## Constructor & Destructor Documentation

## ◆ Entry()

nkWinUi::ComboBox::Entry::Entry | ( |  | ) |
| noexcept

Constructor.

## ◆ ~Entry()

nkWinUi::ComboBox::Entry::~Entry | ( |  | ) |

Destructor.

## Member Function Documentation

## ◆ getLabel()

nkMemory::StringView nkWinUi::ComboBox::Entry::getLabel | ( |  | ) | const

Returns
  The entry label.

## ◆ getAttachedData()

void* nkWinUi::ComboBox::Entry::getAttachedData | ( |  | ) | const

Returns
  User data attached to the entry.

## ◆ setLabel()

void nkWinUi::ComboBox::Entry::setLabel | ( | nkMemory::StringView | label | ) |

Sets the label.

Parameters

  label | The label to set.

## ◆ setAttachedData()

void nkWinUi::ComboBox::Entry::setAttachedData | ( | void * | data | ) |

Sets the user data attached.

Parameters

  data | The data to attach.

Remarks
  The Entry is not responsible for passed data.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsWinUi/Components/ComboBox.h